package util;

import java.util.HashMap;
import java.util.List;

public class LayData extends HashMap<String,Object>{
      public static LayData data(int count,List<?>list){
          LayData layData=new LayData();
          layData.put("code",0);
          layData.put("msg","");
          layData.put("count",count);
          layData.put("data",list);
          return layData;
      }
    public static LayData dataUpload(String filename){
        LayData layData=new LayData();
        layData.put("code",0);
        layData.put("msg","");
        layData.put("fileName",filename);
        return layData;
    }
}
